<?php
/**
 * File: cmsarticlesrec.php.
 * Author: caoqicheng@haibao.com
 * Editor: PhpStorm
 * Date: 17/2/7 上午10:45
 * Brief:
 */
namespace haibao\jiepai\model\data\article;

class CmsArticlesRec extends \haibao\jiepai\model\data\Base{
	
	/**
	 * 文章类型
	 * 1.文章，2.专题
	 */
	const TYPE_ARTICLE = 1;
	const TYPE_FEATURE = 2;
	
	public $TypeID;

	public $Type;
	
	public $ArticleID;
	
	public $Flag;
	
	public $CreateTime;

	
	
	
	public function __construct(){
		parent::__construct();
		
		$this->intField('TypeID', 'TypeID');
		$this->intField('Type', 'Type');
		$this->intField('ArticleID', 'ArticleID');
		$this->intField('Flag', 'Flag');
		$this->dateField('CreateTime', 'CreateTime');
		
		
		$this->setTableName('cms_articles_rec');
	}
}